#!/usr/bin/env python
# -*- coding:utf-8 -*-

# file:装饰有参数的函数.py
# author: 马国鑫
# datetime:2022/3/18 21:43
# software: PyCharm

"""
this is function  description 
"""


# import module your need

def func_out(func):
    def func_in(*args, **kwargs):
        func(*args, **kwargs)

    return func_in


# 相当于my_test = func_out(my_test)
@func_out
def my_test(*args, **kwargs):
    print(args)
    print(kwargs)


my_test(10, 20, a=1, b=3)
